Hello dxl community, |
Re: Exporting attribute contents from wizard generated Traceabilty Columns into
Hi,
Module m = //set your module
Column c = null
int iColumn = 0 //the first column in a view has position 0
for c in m do { //loop through all columns in your view
if (title(c) == "IsValidated") { //if the current columns title matches leave the loop, leaving the column counter with the position of your column
break
}
iColumn++
}
Column cIsValidated = column(m, iColumn) //get a handle on your column
string sIsValidated = text(cIsValidated, o) //get the value of your column for object o
|
Re: Exporting attribute contents from wizard generated Traceabilty Columns into
|
Re: Exporting attribute contents from wizard generated Traceabilty Columns into Johnny_P - Thu Nov 08 09:49:15 EST 2012
Hi,
Module m = //set your module
Column c = null
int iColumn = 0 //the first column in a view has position 0
for c in m do { //loop through all columns in your view
if (title(c) == "IsValidated") { //if the current columns title matches leave the loop, leaving the column counter with the position of your column
break
}
iColumn++
}
Column cIsValidated = column(m, iColumn) //get a handle on your column
string sIsValidated = text(cIsValidated, o) //get the value of your column for object o
Best regards Colm |